<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>项目列表</title>
    <?php PrintPageHead(); ?>
    <link href="../resource/css/hermes.css" rel="stylesheet">
    <link href="../resource/js/calendar/calendar-blue.css" type="text/css" rel="stylesheet">
    <script src="../resource/js/calendar/calendar.js" type="text/javascript"></script>
    <script src="../resource/js/hermes.js"></script>
    <style type="text/css">
       .form_d{
           width:500px;
           margin: 20px auto;
       }
    </style>
    <?php
    if (!array_key_exists("公众号ID",$_SESSION)) {
        header("Location:back.php");
    }
    $bm=new C后台管理员();

   


    ?>
</head>
<body>


<div class="container-fluid">
    <?php include_once 'back_header.php'; ?>
    <div class="panel panel-primary">
        <div class="panel-heading text-center"><h3 class="panel-title"> 模板消息</h3></div>



        <form action="" method="post">
            <input type="submit" id="fasong" name="fasong" value="发布图文消息">
        </form>

        <input value="测试" type="button" onclick="c测试()">
    </div>


</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../resource/js/jquery-1.11.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../resource/js/bootstrap.min.js"></script>
<script language="JavaScript">
    function selectshow(){
        var name= document.getElementById("namese").value;
        $.post('back.php?state=BackSellerAjax',{name:name,'businessFlag':'ac查找用户'},function(data) {
            document.getElementById('xianshi').innerHTML='';
            document.getElementById("xianshi").innerHTML=data;

        });

    }
$(function(){
    $("#fasong").click(function(){
        $(this).attr('hidden',true);
    });
    $("#end").click(function(){
        $(this).attr('hidden',true);
    });
    $("#tijiao").click(function(){
        $(this).attr('hidden',true);
    });
})
    function c测试(){
        $.post('BackSellerAjax.php',{'businessFlag':'测试'},function() {
            alert('成功');


        })
    }

</script>
</body>
</html>
<?php

if(isset($_POST['fasong'])){


    $bm->fs发送作业消息模板();
}




?>
